<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>后台-添加博客</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid p-1 bg-dark text-white text-center">
  <ul class="nav">
    <li class="nav-item">
      <a class="nav-link active" aria-current="page" href="/admin">添加博客</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="/admin/manageBlog">管理博客</a>
    </li>
  </ul>
</div>

<div class="container-fluid p-5 bg-primary text-white text-center">
  <form action="#" th:action="@{/admin/add}" method="post">
    <div class="mb-3 mt-3">
      <label for="title" class="form-label">Title:</label>
      <input class="form-control" id="title" placeholder="Enter title" name="title" >
    </div>
    <div class="mb-3">
      <label for="content" class="form-label">Content:</label>
      <input class="form-control" id="content" placeholder="Enter content" name="content">
    </div>
    <div class="mb-3">
      <label for="description" class="form-label">Description:</label>
      <input class="form-control" id="description" placeholder="Enter description" name="description">
    </div>

    <button type="submit" class="btn btn-secondary">Submit</button>
  </form>
</div>



<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/mhDoLbDldZc3qpsJHpLogda//BVZbgYuw6kof4u2FrCedxOtgRZDTHgHUhOCVim" crossorigin="anonymous"></script>
</body>
</html>